package com.cx.mall.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cx.mall.demo.model.UserReceiveAddress;

import java.util.List;

public interface IDemoUserReceiveAddressSrevice extends IService<UserReceiveAddress> {
    /**
     * 通过userId查询
     * @return
     */
    List<UserReceiveAddress> selectByUserId(Long userId);

    /**
     * 通过城市查询
     */
    List<UserReceiveAddress> selectByCity(String city);
}
